//
//  NTESDemoService.h
//  Netease
//
//  Created by 王方伟 on 2017/8/25.
//  Copyright © 2017年 wfw. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NTESDemoLiveroomTask.h"

@interface NTESDemoService : NSObject
+ (instancetype)sharedService;

/** 创建房间 */
- (void)requestLiveStream:(NSString *)identity completion:(NTESChatroomStreamUrlHandler)completion;

- (void)requestMicQueuePop:(NTESQueuePopData *)data completion:(NTESDemoLiveMicQueuePopHandler)completion;
- (void)requestMicQueuePush:(NTESQueuePushData *)data completion:(NTESDemoLiveMicQueuePushHandler)completion;
/** 获取直播房间信息 */
- (void)requestPlayStream:(NSString *)roomId completion:(NTESPlayStreamQueryHandler)completion;
@end
